/*
 * Project:     My Project Work, Copyright (C) 2011
 * Created at:  19.08.2011
 */
package de.myprojectwork.presenter;

import de.myprojectwork.common.util.MyProjectWorkException;
import de.myprojectwork.model.DataManipulationModel;
import de.myprojectwork.view.MainFrame;

/**
 * @author Chris Holdschuh
 */
public class MainPresenterImpl extends AbstractPresenter implements MainPresenter {
    
    private DataManipulationModel model;
    private MainFrame view;

    public MainPresenterImpl(DataManipulationModel model) {
        this.model = model;
    }
    
    @Override
    public void setView(MainFrame view) {
        this.view = view;
    }
    
    @Override
    protected void update() {
    }

    @Override
    public void initUi() throws MyProjectWorkException {
        view.initUi();
    }
    
}
